<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>修改记录</title>
    <!--公用样式-->
    <link rel="stylesheet" type="text/css" href="${re.contextPath}/plugin/common/css/comment.css"/>
    <!--页面样式-->
    <link rel="stylesheet" type="text/css" href="${re.contextPath}/plugin/common/css/style.css"/>
    <!--Layui-->
    <link rel="stylesheet" href="${re.contextPath}/plugin/layui/css/layui.css" media="all"/>
    <!--页面样式-->
    <link rel="stylesheet" type="text/css" href="${re.contextPath}/plugin/common/css/extended.css"/>
    <!--JQ-->
    <script type="text/javascript" charset="utf-8"
            src="${re.contextPath}/plugin/common/js/jquery-1.8.3.min.js"></script>
    <!--Layui-->
    <script type="text/javascript" src="${re.contextPath}/plugin/layui/layui.js" charset="utf-8"></script>
    <!--公用样式JS-->
    <script type="text/javascript" src="${re.contextPath}/plugin/common/js/comment.js" charset="utf-8"></script>
    <style>
        .layui-laypage-limits > select {
            width: 100% !important;
        }
    </style>
</head>

<body>
<!--容器-->

<div class="container index clearfix">
    <!--右侧内容-->
    <div class="Right fr" style="width: 100%;">

        <div lay-filter="docDemoTabBrief" style="margin-top: 12px;">
            <div class="return">
                <img class="close" src="${re.contextPath}/plugin/common/images/32@2x.png" alt=""/>
                <span class="close">返回上一页</span>
            </div>

            <ul class="clearfix whitebg" style="padding-top: 10px;padding-bottom: 80px;">
                <div class="releaseStatus clearfix">
                    <img src="${re.contextPath}/plugin/common/images/15@2x.png" alt="" class="fl"/>
                    <span class="fl ml10">变更公告</span>
                </div>
                <div>
                <#list list as vo>
                    <li class="clearfix" style="border-bottom: 1px  solid #cccccc;margin: 20px;padding-left: 70px;">
                        <span class="fl" onclick="viewDetail(this)" value="${vo.supProjectChangeId}" style="width: 500px;">${vo.title}</span>
                    </li>
                </#list>
                </div>
            </ul>
        </div>
    </div>
</div>
</div>
<script type="text/html" id="toolBar">
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="detail">查看详情</a>
</script>

<script>
    $('.close').click(function () {
        var index = parent.layer.getFrameIndex(window.name);
        parent.layer.close(index);
    });
    var layer;
    var tableIns;
    $(function () {
        layui.use(['table'], function () {
            table = layui.table;
        })
    })
    function  viewDetail(object) {
        var supProjectChangeId = $(object).attr("value");
        url = "/supplier/projectManager/changeDetail?supProjectChangeId=" +supProjectChangeId;
        w='80%';
        h='80%';
        layer.open({
            id: 'form-add',
            type: 2,
            area: [w , h ],
            fix: false,
            maxmin: true,
            shadeClose: false,
            shade: 0.4,
            title: "变更详情",
            content: url,
            end: function () {

            }
        });

    }
</script>
</body>
</html>